package com.ding.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

/**
 * @author xiongzhiwen
 * @version 1.0
 * @description: TODO
 * @date 2024/4/1 8:35
 *
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Di_todoDto {


    @ApiModelProperty(value = "序号")
    private String id;

    @NonNull
    @ApiModelProperty(value = "标题")
    private String bt;

    @ApiModelProperty(value = "办理提示")
    private String content;

    @ApiModelProperty(value = "编号/文号")
    private String wh;

    @ApiModelProperty(value = "模块类型")
    private String moduleName;

    @ApiModelProperty(value = "处理方式")
    private String action;

    /**
     * 0普通，1平急，2加急，3特急，4特提
     */
    @NonNull
    @ApiModelProperty(value = "紧急程度")
    private String urgent;

    /**
     * 1普通，2重要
     */
    @ApiModelProperty(value = "重要程度")
    private String important;

    @ApiModelProperty(value = "处理链接")
    private String url;

    @NonNull
    @ApiModelProperty(value = "发送人id")
    private String sendUserId;

    @NonNull
    @ApiModelProperty(value = "发送人姓名")
    private String sendUserName;

    @NonNull
    @ApiModelProperty(value = "发送人部门id")
    private String sendDeptId;

    @NonNull
    @ApiModelProperty(value = "发送人部门名称")
    private String sendDeptName;

    @NonNull
    @ApiModelProperty(value = "接收人id")
    private String receiveUserId;

    @NonNull
    @ApiModelProperty(value = "接收人姓名")
    private String receiveUserName;

    @ApiModelProperty(value = "接收人部门id")
    private String receiveDeptId;

    @ApiModelProperty(value = "接收人部门名称")
    private String receiveDeptName;

    @ApiModelProperty(value = "发送时间", example = "2020-10-22 10:03:22")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sendTime;

    @ApiModelProperty(value = "发送失败错误提示")
    private String sendError;

    @ApiModelProperty(value = "行政复议申请id")
    private String applyid;

    @ApiModelProperty(value = "处理状态")
    private Integer pStatus;

    @ApiModelProperty(value = "处理时间", example = "2020-10-22 10:03:22")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pTime;

    @ApiModelProperty(value = "完成失败错误提示")
    private String finishError;

    @ApiModelProperty(value = "业务路由")
    private String route;
}
